Correct problems with earlier fix for bug #480065
authorKristian Rietveld <kris@gtk.org>
Mon, 21 Dec 2009 21:33:59 +0000 (22:33 +0100)
committerKristian Rietveld <kris@gtk.org>
Mon, 21 Dec 2009 21:42:15 +0000 (22:42 +0100)
commitf59294fd938065a3b306689343bf515b8eb633d7
tree2cd51e5b9787d8c8ccd9207cfc7369a009c0b6d0
parentf223577a88730a03686935e6d319006595480bd2
Correct problems with earlier fix for bug #480065

Initialize event_last_[xy] to out of range coordinates and also update
these values in enter and leave notify.  Fix up calls to
update_prelight() from size allocate.  Unconditionally doing these calls
caused problems with hover selection.  Now we only do this call when
the "width before the expander column" has changed.  (Which might be
awkward, but it is the best heuristic I could come up with so far).
gtk/gtktreeprivate.h
gtk/gtktreeview.c